filterNotToOption

inline fun filterNotToOption(predicate: (L) -> Boolean): Option<Either<L, R>>

Returns Some containing the same Left if the predicate is not satisfied for the value. Otherwise returns None.

Return

Some containing the same Left if the predicate is not satisfied for the value. Otherwise returns None.

Parameters

predicate

Predicate function.